package com.booth.apply.service;

import com.booth.apply.entity.Apply;
import com.baomidou.mybatisplus.extension.service.IService;
import com.booth.apply.entity.dto.OptionApplyDto;
import com.booth.apply.utils.CommonResult;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author zfm
 * @since 2020-08-19
 */
public interface IApplyService extends IService<Apply> {

    /**
     * agree apply
     *
     * @param optionApplyDto
     * @return
     */
    CommonResult agreeApply(OptionApplyDto optionApplyDto);

    /**
     * refuse apply
     *
     * @param optionApplyDto
     * @return
     */
    CommonResult refuseApply(OptionApplyDto optionApplyDto);

}
